.class Lcom/jecelyin/editor/v2/ui/b$o;
.super Landroid/widget/LinearLayout;
.source "EditorDelegate.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/jecelyin/editor/v2/ui/b;->a(Landroid/view/ActionMode;Landroid/view/Menu;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/res/Resources;

.field final synthetic b:Lcom/jecelyin/editor/v2/ui/b;


# direct methods
.method constructor <init>(Lcom/jecelyin/editor/v2/ui/b;Landroid/content/Context;Landroid/content/res/Resources;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/jecelyin/editor/v2/ui/b$o;->b:Lcom/jecelyin/editor/v2/ui/b;

    iput-object p3, p0, Lcom/jecelyin/editor/v2/ui/b$o;->a:Landroid/content/res/Resources;

    invoke-direct {p0, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected onMeasure(II)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/jecelyin/editor/v2/ui/b$o;->b:Lcom/jecelyin/editor/v2/ui/b;

    .line 2
    invoke-static {p1}, Lcom/jecelyin/editor/v2/ui/b;->c(Lcom/jecelyin/editor/v2/ui/b;)Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/jecelyin/editor/v2/utils/h;->a(Landroid/content/Context;)I

    move-result p1

    const/high16 p2, 0x40000000    # 2.0f

    invoke-static {p1, p2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p1

    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/b$o;->a:Landroid/content/res/Resources;

    sget v1, Lcom/jecelyin/editor/v2/h;->je_activity_editor_toolbar_height:I

    .line 3
    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v0

    invoke-static {v0, p2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result p2

    .line 4
    invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->onMeasure(II)V

    return-void
.end method
